package com.example.service;

import com.example.entity.UploadFile;
import com.example.mapper.UploadFileMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 * @author 叶凯乐
 */
@Service
public class UploadFileServiceImpl implements UploadFileService{

    @Resource
    private UploadFileMapper uploadFileMapper;

    @Override
    public int doUserUpload(UploadFile file) {
       return uploadFileMapper.insAllUploadFileMessage(file);
    }
}
